﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DataAccessLayer.Entity;
using DataAccessLayer.Adapter;
namespace BussinessLayer
{
    public class PhongThiBussiness
    {
        PhongThiAdapter phongAdapter = new PhongThiAdapter();
        public DataTable LoadPhongThi()
        {
            return phongAdapter.LoadPhongThi();
        }
        public void ThemPhong(clsPhongThi clsPhong)
        {
            phongAdapter.ThemPhong(clsPhong);
        }
        public void SuaPhong(clsPhongThi clsPhong)
        {
            phongAdapter.SuaPhong(clsPhong);
        }
        public void XoaPhong(clsPhongThi clsPhong)
        {
            phongAdapter.XoaPhong(clsPhong);
        }
        public object KiemTraMa(clsPhongThi clsPhong)
        {
            return phongAdapter.KiemTraMa(clsPhong);
        }
    }
}
